
const getSelector = function(path){
    console.log(path);
    path.reverse().filter(ele=>{
        return ele !== window && ele !== document;
    })
}




export default function(pathsOrTarget){
    if (Array.isArray(pathsOrTarget)) {
        return getSelector(pathsOrTarget);
    }else{

    }
}